package cn.bdqn.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 郑大仙丶
 * @date 2018-12-28 17:17
 */
@Controller
public class PageController {


   /* 通用页面跳转
            路径
    GET		/InSystem/page/{name}
    参数
            无
    响应
    转发到    jsp/{name}*/
   @RequestMapping(value = "/page/{name}",method = RequestMethod.GET)
   public String page(@PathVariable String name){

       return name;
   }


}
